package org.batyrov.equery.console.control;

import javax.swing.*;
import java.util.Properties;
import java.io.InputStream;
import java.io.FileInputStream;
import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: admin
 * Date: 15.09.2009
 * Time: 22:00:34
 * To change this template use File | Settings | File Templates.
 */
public class Main {
    private static Properties configuration = new Properties();
    private static Frame frame;

    public static Properties getConfiguration() {
        return configuration;
    }

    public static Frame getFrame() {
        return frame;
    }

    public static void main(String [] args){
        try {
            configuration.load(new FileInputStream("client.properties"));
            frame = new Frame();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
